import MoocClass from './moocClass.vue'
import MoocClassAdd from './moocClassAdd.vue'
import MoocClassOpen from './moocClassOpen.vue'
import MoocClassSearch from './moocClassSearch.vue'
import MoocClassRecommend from './moocClassRecommend.vue'

const components = [
  MoocClass,
  MoocClassAdd,
  MoocClassOpen,
  MoocClassSearch,
  MoocClassRecommend
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
